<!DOCTYPE html>
<html lang="en">
<head>

    <title>HTML5 直播</title>

</head>
<body>
	<button type="button" onclick="play()">点击播放</button>
</body>
<script>
    var player=null;
	var address="rtmp://58.200.131.2.1935/livetv/cctv10";
	
	function play(){
		player=plus.createVideoPlayer("player",{
			width:"100",height:"300px",
			src:address,
			top:"200px"
		});
		var vw=plus.webview.currentWebview();
		vw.append();
		player.play();
	}
</script>
</html>